import request from '@/utils/request'

export function fetchDataExtractionTaskLogList(data) {
  return request({
    url: '/system/dataextraction/DataExtractionTaskLog/list',
    method: 'post',
    data
  })
}

export function getDataExtractionTaskLog(id) {
  return request({
    url: '/system/dataextraction/DataExtractionTaskLog/detail/' + id,
    method: 'get'
  })
}

export function createDataExtractionTaskLog(data) {
  return request({
    url: '/system/dataextraction/DataExtractionTaskLog/add',
    method: 'post',
    data
  })
}

export function updateDataExtractionTaskLog(data) {
  return request({
    url: '/system/dataextraction/DataExtractionTaskLog/update',
    method: 'post',
    data
  })
}

export function deleteDataExtractionTaskLog(ids) {
  return request({
    url: '/system/dataextraction/DataExtractionTaskLog/delete',
    method: 'post',
    data: { ids }
  })
}
export function getDetail(data) {
  return request({
    url: '/system/dataextraction/DataExtractionTaskLog/logDetailCat',
    method: 'get',
    params:data
  })
}

